package com.softeem.mapper;

import com.softeem.pojo.Blog;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface BlogMapper {

    List<Blog> selectByUserId(int userId);

    int insertBlog(Blog blog);
}
